package com.sc.admin.model.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 *@Author shen chen
 *@Date 2024-03-26
 */

/**
 * 系统日志
 */
@Data
@ColumnWidth(20)
@Accessors(chain = true)
public class SysLogExportVO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    @ExcelProperty(value = "日志编号")
    private Long id;
    @ExcelProperty(value = "模块")
    private String module;
    @ExcelProperty(value = "标题")
    private String title;
    @ExcelProperty(value = "业务类型")
    private String businessType;
    @ExcelProperty(value = "操作结果")
    private String status;
    @ExcelProperty(value = "操作人")
    private String operName;
    @ExcelProperty(value = "操作时间")
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private LocalDateTime operTime;
}